<?php
namespace soa\mp\schoolmate;

use soa\client;

class userInfo  extends client
{
	private $_api;
	public function __construct(){
		$this->_api = "api" . str_replace("\\","/",str_replace("soa\\mp","",__CLASS__)) . "/";
	}

	/**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://mp.kuaidihelp.com/';
    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_mp';

	//设置
	public function set($uid,$platform,$info){
		return $this->post($this->_api .__FUNCTION__,compact('uid','platform','info'));
	}

	//获取信息
	public function getInfo($uid,$platform){
		return $this->post($this->_api .__FUNCTION__,compact('uid','platform'));
	}
}